//
//  SEGActivityLotteryUsersModel.m
//  ExcellentHome
//
//  Created by 揭婧雯 on 2017/8/15.
//  Copyright © 2017年 陈区. All rights reserved.
//

#import "SEGActivityLotteryUsersModel.h"

@implementation SEGActivityLotteryUsersModel

- (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    self = [super init];
    if (self) {
        _lotteryTime = @"";
        _prizeName = @"";
        _nickName = @"";
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}
+ (instancetype)initWithDictionary:(NSDictionary*)dictionary
{
    return [[self alloc] initWithDictionary:dictionary];
}
- (void)setValue:(id)value forUndefinedKey:(NSString*)key
{}
- (void)setLotteryTime:(NSString*)lotteryTime{
    _lotteryTime = [[SEGUtils ValueToString:lotteryTime]copy];
}
- (void)setPrizeName:(NSString*)prizeName{
    _prizeName = [[SEGUtils ValueToString:prizeName]copy];
}
- (void)setNickName:(NSString*)nickName{
    _nickName = [[SEGUtils ValueToString:nickName]copy];
}

@end
